Fix Xcode 6 detection