fix the compilation of getpass.c and it's configure test