allow compatibility with Lua 5.2
Merge pull request #17 from fperrad/compat52

allow compatibility with Lua 5.2