Fixes #3586 - Remove dependencies for tokyocabinet if the OS is not CentOS 6 or later

Fixes #3586 - Remove dependencies for tokyocabinet if the OS is not CentOS 6 or later