Fix for upload problems on Arduino Leonardo (and derivatives) with OSX 10.9.4
Merge pull request #2279 from cmaglie/fix-leo-upload-osx10.9.4

Fix for upload problems on Arduino Leonardo (and derivatives) on OSX 10.9