CMake build configuration and other things