-Changed standard from gnu++0x to c++11