Fixed dep. order issue in target all