Optionally build LDAP support

Signed-off-by: W. Michael Petullo <mike@flyn.org>