changed to use c++11 flag in place of c++0x