Add missing BUILD dep.
Sync of https://github.com/pantsbuild/pants/commit/747708b180e8ae181118f264c4efbf4765a8b277