tesseract: head uses pkg-config

Closes #28464