little fix on centos

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