Build a shared library instead of a static one.