AVR header messed up for 328

Indeed!

On linux one uses the avr-gcc that comes with the OS. Messing with additional packages would be horrid. If it can be easily solved by including a header file for compatibility this should be done that way.