Adjusted luarpc.c to Lua5.2