Fit for issue #83

This is the fix for [issue #83](https://github.com/queezythegreat/arduino-cmake/issues/83)