Fix teamcity support.