Prefer static libraries of dependencies to avoid installation problems.

The linking of the TIFF library yet failed with undefined references. Therefore, disabling TIFF support for the moment.