use gcc realversion

@davidlt , does this looks correct to you? 74ROOT6 are failing due to wrong gcc paths