Fix postInstall script on Windows