issue #2284: enable c++11 for emscripten port