Minor fix to Makefile for versioning logic