support build on osx 10.9