Disable shared library support due to lthread issues (see #2)