Redmine #5874: Some users promise compile fixes

A candidate for s/&& test/-a/g.
Run test once, to test several conditions, combined with -a, instead of running test many times, each with a separate condition, and combining the results with &&; the -a version is cheaper and cleaner.