[CMake] Do not call macros which were moved to common or typetree.