add missing compiler flags for g_type_init() at the right place

Properly fixes commit 301dc9135a6837a4e3535cb79c4afa847504e20d

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>