Bugfix: Lua 5.1/5.2 compatibility

table.unpack is Lua 5.2, unpack in the global namespace is Lua 5.1.

We therefore map table.unpack to unpack, if unpack does not exist. This
has happened before, but some cases were left over.