Build system: Improve detection of the iptc library.