Fix build failing without libtiff installed.

https://bugzilla.gnome.org/show_bug.cgi?id=722183
fixed a function call