Change c++ std flag from c++0x to c++11

This way we remove deprecated c++0x flag

Change-Id: Iadaf5d1a4067ed3fe6214a54312e2c45ec3dddde