Make build script work on windows