fix cmake to allow clang