Updates for Compilatoin

*Update build script for warning fixing
*Fixed mach-msm
*Miscelleneous Fixes