A little fix for older versions of glib