make the script run non-interactive when building on MyGet

The `build.cmd` script prompts the user the quit or run the build again.

This PR checks whether the build is running on MyGet Build Services and exits properly by checking the `BuildRunner` environment variable provided by MyGet.