Compatibility with Ardunio 1.0+

Compiles with Arduino 1.0+ now (tested with IDE 1.0.5)