Fixed compilation on iOS.