Fix sketches not compiling for AVR boards