Fix. Warnings when build for Lua 5.2 with LUA_COMPAT_XXX