cmake: fix enabling C++11 for Clang