Explicitly enable the shared library build, and add a patch from Fedora to install a pkg-config file.