fixed build script for windows builds