Fix compilation error with clang and c++11 enabled.