Fix postinstall and update scripts for windows
Merge pull request #5 from arian/patch-1

Fix postinstall and update scripts for windows