[osx] Support OS X 10.6 or later