Update CMakeLists.txt
Fix gcc compiling error