fix build with libimobiledevice-1.1.5; patch from fedora