Fixing build error for avr and p9813