complete chroot compile functions