Builds a chroot and configures all the required files, directories and libraries
