fix patch glib & libffi