a6ed4d2d86
Code from Peter O'Gorman <ogorman@users.sourceforge.net which has been credited in the source. Basically the dlopen() and dlerror() calls have been recreated wrapping the standard OSX methods. Names used are osxdlopen() and osxdlerror(). So no naming conflict will occur.