Add support for Emscripten