Allow to compile tiff from sources

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>