Fixed issues with installer script on windows