Added exit code for build.ps1