Fix defines for Teensy and Leonardo

A very simple fix, for these ifdef checks that weren't working on Teensy and Arduino Leonardo.