Fixed the C++11 compilation