Fixing compiling paths
Merge pull request #753 from kwhatmough/next

Fix #744. Adds Lua and general fixes to the XCode template.
Merge pull request #752 from Joilnen/next

Fixing compiling paths