Fix compile error on clang with -stc=c++11