mk: Work around problem with run-make tests on multiple targets. #11094