Bugfix for CMake project generation