update Makefile for older g++