https://bugs.openldap.org/show_bug.cgi?id=10582
--- Comment #6 from Howard Chu hyc@openldap.org --- Sounds like you should just update your Mac then.
Or just maintain a private patch for this, since it doesn't affect the vast majority of supported platforms.