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

create build-errors file in case compilation failed