Build as a shared library.

Signed-off-by: Jeff Darcy <jdarcy@redhat.com>