Add Gtk3 support to configure

Needed for @eyelash pull request #29