Pass in EXT_DEPS for external dependency tracking.