Fix for chroot environments.