Move JS_ENGINE_OVERRIDE to shared Building object to avoid sys.modules hack