To simplify testing for the currently used gcc version introduce global environment variables to avoid running `gcc --version`.