Build script should exit with the error level set by MSBuild

#555