modify postinstall to work on windows