Fix missing declaration on iOS 6.