Fix build sequence.