compile with C++11