dotproducttest fails with libc++ on 2.6 branch

Job #72800 failed for 9af998aa.

See also #51 (closed), !254 (merged) on master