What about systems that don't support chroot? This should check if it is supported by default, so as to avoid compile errors.