Windows support seems lacking.
Many windows users will not have tar/cp installed so I added
use File::Copy::Recursive qw(rcopy);
use Archive::Tar;
replaced `tar xzvf $file`;
with my $tar = Archive::Tar->new();$tar->read($file);$tar->extract();
and replaced `cp -r lib/* $prefix` with rcopy( "lib/" , $prefix );
Windows is a bit finicky about the mode of filehandles so I added
binmode(DIST);
after DIST is opened as otherwise the tars seem to get corrupted.