Fix to generate compiledata.h (CMake)