Fix compilation against iOS 7 SDK