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

create build-errors file in case compilation failed