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.