Fix for preinstall script error on windows.
Merge pull request #49 from looterz/windows-fix

Fix for preinstall script error on windows.