Changed postinstall hook. It now works on windows