Let build.cmd builds fail fast

Same as with `build.sh`.