Make pointmatcher compile a shared library appropriately