fixed a compilcation error on macosx(mavericks)

here is the my pull-request for the issue [https://github.com/facebook/rocksdb/issues/23].