Fix compilation with the Xcode 6 GM

Disables Swift support on OS X for now as 6 doesn't support it and we currently
don't support 6.1
Merge pull request #896 from realm/tg-xcode6-gm

Fix compilation with the Xcode 6 GM