Fix macOS check for Xcode <= 8