added patches for idevicerestore and libirecovery