Fix build failing on Mac OS X 10.8 or earlier  #19