Fix buildDependencyGraph implementation to loop over builders under
ProxyBuilder.