use gcc realversion
make sure we do not drop any -[0-9]*$
Merge pull request #1224 from smuzaffar/IB/CMSSW_7_4_X/root6

use gcc realversion