check for glib < 2.36, not glib < 2.26