Setup exit codes for TeamCity builds.