Fixes #5068
This is a follow-up commit to the adaptation of the run scripts to the consistent use of [build_artifacts] (issue #4860). The missing build of libm remained undetected until the recent removal of implicit shared-library builds (issue #5061).
Fixes #4977
Fixes #4947
Fixes #4944