Update for Arduino >= 1.0

http://markus.jabs.name/2011/12/arduino-kennt-wprogram-nicht-mehr/
Merge pull request #1 from receter/patch-1

Update for Arduino >= 1.0