--with-gtk-version option to configure, so you can explicitly tell it