Fix Makefile for compatibility with older versions of GNU Make