Modify the lua runtime template for prebuilt engine.