avoid importing shared from emscripten.py if possible