Fixed makefile for older versions of make