Add `root` as a dependency of `main`.