fix for glib2-2.41.2
this will fix https://github.com/mate-desktop/mate-screensaver/issues/50