fixed two defs so it works with the atmel provided avr gnu toolchain