port of OpenEars to c++11