change gcc compiler to g++ in makefile files