Fixed build errors for msp430
Fixed build errors for msp430