compile with c++11