adding c++11 flag