adg: allow building without GTK+