convert to a shared library