Change Unix paths to Windows paths if win32

Allows a package.json file with scripts to be used across OS's if needed.