fix tiff compile against older than tiff 4.x