Fix compile errors

As per a couple threads on forum, decided to push my quick fix 

There was an issue compiling several of the example programs on a teensy 3.1

Example thread: http://forum.pjrc.com/threads/25907-Multiple-HCSR-04-Ultrasonic-sensors-on-teensy-3