Patch lua52 to build on Darwin