Made it installable as a shared library.