Update CMakeLists.txt

make backwards compatible again