Compile as shared library with soname.

Just to make things more complicated for no reason.