Fixed the compilation on iOS.