MSWin32 (native windows) support

I was able to get this to build, test and install on Strawberry Perl with these changes.