updated build script for windows