lua lib changed to static