use "CMSSW_VERSION" instead of "CMSSW_BASE" to determine the CMSSW version
Merge pull request #146 from TaiSakuma/fix-141120_01

change the way to determine the CMSSW version in CMG_PAT_V5_18_from-CMSSW_5_3_22