Fix introspection build

taken from this commit:
https://git.gnome.org/browse/evince/commit?id=1915baa92e72242450b6042603ad0e20de072c17