Fix build on iOS.