fix libtiff build