[mac] fix build issue under osx 10.6
Merge pull request #180 from Chilledheart/maintain_mac_osx_min_requirement

[mac] fix build issue under osx 10.6