[LIBREPORT PATCH] add missing compiler flags for g_type_init() at the right place