added c++ 2011 flag