support Yosemite
Merge pull request #1 from zheng1/patch-1

support Yosemite