fix build with redis < 2.6.9 (available in fedora repo)