Check the presence of pam_appl.h during build process

Hi,

This checks the presence of pam_appl.h header, which is used in `epam.c`.

It will fix #168.