need to call g_type_init for glib < 2.36