Fix CMake configuration