Fixes #3976 - Fix Debian 5 patch about tokyocabinet

Fixes #3976 - Fix Debian 5 patch about tokyocabinet

See http://www.rudder-project.org/redmine/issues/3976