re #8924 mac fix for old std libraries