Fix C++11 use by gcc and clang