Fix check_dependencies glib2 for Ubuntu 12.10