libextractor: add runtime dependency on libtool

Fixes #23306.
jq: fix HEAD

HEAD does not compile on Snow Leopard, but may work on newer versions of OS X

Closes #23166.