clang compilation fixes
CMakeLists improvements