Add libtiff check.