[Olena-patches] 1787: Fix auto name substitution for vec and metal::math.