Although SONAME does not really exist on Mac OS X, I opted to keep the function behaviour the same.  I must admit that I don't really understand why this check needs to be done.  If it is for performance, perhaps a functioning (but slow) fallback could be used instead.