Add ability to build against gtk2 and gtk3

./configure now accepts both --with-gtk2 and --with-gtk3 defaulting to both.