Fixed CMake for an installation bug