ENH: Fix allows Mac build of shared libs