try to fix c++11 compile with gcc4.6.2