Add compile settings for Mac OS X

Check this out, works on Mac.