Removed useless variables in CMakeLists.