fix for using dynamic libraries on macosx