support for broken scanimage3.6-3.8 and 4B (fork)

the last release seemed to have broken the scanimage tiff support.
Peter's scanimage 4 fork supported.