Add a check for glib version