updated for latest yajl and tokyocabinet