support for compiling with Clang c++11