Unify CMakeLists.txt with other repositories.
Work on CMake.