Don't depend on pango if no GTK is requested.
Don't use -Wno-unused-but-set-variable, it's not standard cc option (freeBSD compat).