Fix tokyocabinet build on systems without zlib-dev