make gobject-introspection build with python2