macho: patch for improved iOS support from tebo