Add dependencies as target-level dependencies.

Its not every case in which we will be building an external project.