Fix for some stuff that was accessed by Mac code, but only defined on iOS.