trouble with libtiff