Fix pam build