Simplify docset construction error handling
Add soversion to the shared library target