Fix Team City build

Fixes #210