Fix CXXFLAGS definition in Makefile for compilers other than g++.