configurator: fix openmp test on some versions of clang.