Use CXX to specify the "g++" version in the environment.