Fix c++11 build failed