Patch lua52 to build on Darwin
Merge pull request #2276 from jwiegley/lua52

Patch lua52 to build on Darwin