Update B-Prolog adapter file for the new 8.0 version, which removes the `change_directory/2` built-in predicate without notice