made LUA shared unless STATIC_LUA is set