Even better "which_libs" implementation

A more flexible argument grabber (fixes cases like
“libimobiledevice-1-0”)