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

merge CERN-PH-CMG/CMG_PAT_V5_18_from-CMSSW_5_3_22