Reordering of compile flags