Fixed firmware build errors with avr-gcc 4.8 [from esar.org.uk]