Fixed generate-info.js for build on windows
Fixed build.js for build on windows with flagfile
fixed windows commands for build.py