Compilation fix for Gtk+ < 2.12