libvirt uses pkg-config

Closes #17739.