Fix lib path to conform to latest simulator build, add failonerror in gc...

1. Fix lib path to conform to latest simulator build, 
2. add failonerror in gcc step, 
3. ran dos2unix to get rid of ctl-Ms which made diff confusing