build.cmd: return exit code