In lua 5.2 lua_objlen was renamed for now reason Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>
Lua 5.2 removed luaL_typerror leaving to write our own version if need it. Signed-off-by: Arvydas Sidorenko <asido4@gmail.com>