Break two more emscripten.py dependencies on tools.shared