Add support for glib prior 2.31.0

Gtk2 binaries from http://www.gtk.org/download/win32.php contain glib 2.28. Since most of windows users get binaries from there, it would be good idea to keep support for them.
Merge pull request #48 from wrvn/master

Add support for glib prior 2.31