glib2: fix compilation in my fedora20 mock

please test, see #72

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>