improved the build process on windows