Make it compile on gcc-msp430 and arduino