Fix external cmake file for clang.