Fix Gtk2 builds.