improve CMake file