Fix a compilation error in Xcode 6