qt, qt5: use stdenv for universal builds.

Fixes #21534.