[MAT-387] Some shared pointer changes, librdag builds but is not linkable.
[MAT-387] Fixed linkage, but still no compilation
[MAT-387] Part conversion of equals test