fix CMake clang detection