Wrap external exe calls in exec{} so non zero exit codes fail the build.
fix teamcity version logic