Fix building without introspection support