Replace ref to shared_ptr to obsharedptr
Confab is dependent upon OBAlign and hence Eigen3. Do not compile it if Eigen is not present.