Exit with non-zero exit code when build.ps1 fails