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.
does this do the right thing in simulator?