Fix a test error with the latest version for XCode.