Add GLIB version guards

-Make sure we don't use any new features above GLib 2.30
-Ubuntu 12.04 uses glib 2.32.x which requires GLIB_VERSION_2_26 to
 be the smallest compile target -> bump minimum version to 2.26