Switched from gnu++11 to c++11