Remove the hack from CMakeLists.txt