cmake-clang: Resurrect lock