Fix the generated file name for CMake.