Implement --with-gtk flag to make Gtk apps work.