Changed few stuff to compile in new AVR-GCC versions

Just an update for working on new AVR-GCC. No changes in the functional part.