modified cmake files for teamcity