Prepare for libtiff4 -> libtiff5 transition