xapian: correctly include extension, only install xapian when not installed.

It seems that the way the extension was included prevented it from being
run properly.

Also, xapian was always being installed on platforms where it should be
- but also when it was already installed. Now testing if exists before
installing.