Fix the Makefile for gmake and pmake