emscripten: use the macro CXX to support C++