Fix PAM cfg for non-Debian distros, clean up Makefiles