Switch to using the release build in the polyglot tests
Merge OTS review by @mlucy