Better Redis version detection for Makefile