Polish and update CMake.