create build-errors file in case compilation failed
Merge pull request #571 from smuzaffar/IB/CMSSW_7_0_X/stable

create build-errors file in case compilation failed
Merge remote branch 'origin/IB/CMSSW_7_0_X/stable' into IB/CMSSW_7_0_X/stable