Build fix for Mac OS >= 10.10

Without this, builds will fail on any two-digit mac os 10.xx like 10.10 Yosemite