CMakeLists.txt refactoring using file GLOB.