Adding shared library