chroot-glibc: fix build/install; set proper perms to ldd.