Correct build order of components.