Fixed c++11 compile