suppress warnings for deprecated LDAP API on OSX 10.10 (Yosemite).