Check if ATmega32u4 is defined

Needed in order to work with Arduino Leonardo