fix c++11 support for clang