Added basic chroot support, added option to configure.ac.