use the ${CXX} environment variable instead of hard coding the compiler