Enabling compilation with GLib version < 2.32