Fixed behavior for --{enable,disable}-introspection

This now works to compile using --disable-introspection even if
gobject-introspection is not installed at all