add missing compiler flags for g_type_init()

Related to rhbz#927919

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Jiri Moskovcak <jmoskovc@redhat.com>