build: Make it possible to disable introspection

Signed-off-by: Jens Georg <mail@jensge.org>