added c++11 flag