Makefile: Deal with older git versions