iOS: Fixed build after changes on other platforms.