build: fix build require hiredis as build fails otherwise