windows specific changes, made by heideachim on the arduino forum.

I have not tested the file.

See http://forum.arduino.cc/index.php?topic=162959.msg1261513#msg1261513