Fixes in CMake.