fix Making install in down-root error; fix build error without libpam install