Preserve correct order when deps are overriding
Don't compile deps too many times