Fix compilation on iOS.