Add glib support