Fixing version evaluation in makefile.