Fixes for compatibility with TeamCity 8.1.1
Merge pull request #4 from dforsten/master

Fixes for compatibility with TeamCity 8.1.1