more fixes for centos/rhel 5

fix some more package names for el5

wrap uid/gid privilege drops in an if statement because this hangs on el5 for some reason.