Build distribution to properly expose `stringMatching`

[#58120558]