Fix add_to_path.