reordering build tasks