gtk2 platform: minor updates

Also make glib use libelf (a few hudred kBs).
gtk3: core platform update (versions from GNOME 3.8)