Check ARDUINO_HOME before use on Windows

On Windows ARDUINO_HOME has a default of None but is used to determine
the AVR_HOME. This caused an exception to be thrown before the
ARDUINO_HOME existence check had executed.
Merge pull request #11 from mmurdoch/master

Check ARDUINO_HOME before use on Windows