added compatibility for teensy 3.0 on OS X