fixed compilation against teamcity trunk