Correct darwin shared library support.