This is a bit simpler now, but more importantly it scales better when I double the number of sorts of dependencies as part of my cross compilation work.