add some support for Arduino distributions that have some files in an "avr" subdirectory
make upload work with a boardfile that doesn't have bootloader.path - works for Arduino Yun with Arduino 1.5.4