compile with c++11 standard