Added patch to fix glib errors