Fix building on iOS.