Updated build scripts for windows