Added AVR ifdefs
Changed Time.h dependency to ATime.h