Update to work with Lua5.2 and 5.1.
Merge pull request #3 from grandquista/master

Add support for building against Lua 5.2