Fix for dependency resolution - include recursive deps.