Fix for "old" GLib version;