Fixing detection of TeamCity version.

#26
Merge pull request #26 from pvandervelde/issue/teamcityversion

MsBuild: Version is not pushed to TeamCity by script