fix non c++11 issue for debian