[mac] fix build issue under osx 10.6

- trivial fix