Fix compilation error in in C++11.