Switch from a static to a shared library.