Use dependency resolution scope COMPILE.

Preliminary.