Reorder build steps.