Took diagnostics out of build.sh
Moved output path for windows build