[grid] Fix dependency paths.