fix firmware to compile with old versions of avr-gcc again