Fixed bug that messed up LDAP build!