Add flag to compile expat
Add flag to compile freetype
Allow building without Lua extensions without curl and crypto
Link OS X Frameworks with CMake in a way that also works in Xcode