Lua 5.2 support, detecting definition of `unpack` function