Enable shared library support