update clang detector. fix build w/ xapian 1.3.1 (close #11)