Treat $^O eq 'MSWin32' as Windows, and assume everything else is *nix.