Link against libtiff in a version-agnostic way.