pam compilation added

Add -lpam tag in the compilation for making easier instalation.