fix missing define, check_chroot not really needed here