fixes for AVR builds in Arduino 1.5.x