build with clang for both c++11 and c++03