CMakeLists.txt: Fix string comparison bug