patch build.bat to set the NT error code if bootstrapping failed, to be consistent with the build.sh script.