correct dependency order for parallel builds