reorder libtiff dependencies