Make sure that pam_ldap is installed when LDAP is enabled

Sorry about the 'other' changes they are already on your master branch but git likes to be thorough. ;)