Use luaL_newlib with fall-back for Lua 5.1 and LuaJIT