fixed glib version check, thanks Koeppea!