Fix glib build