Change lua_state to luaL_state for 64-bit compatibility.