pam compilation added