makefile is g++ compatible