Fix typo and missing library in pam_logintc.c and fix installation steps