fix version comparison for Yosemite