Removes unused CMake lines that cause 3.0 warning