Try to make glib happy, call g_type_init()