Inherit CXX from the environment if it is set.