curl rebuild for chroot error