Fix build issue when libhiredis.so is available

If it is, the linker would dynamically link to it instead of statically
linking the bundled version of hiredis.

Closes #15.