Minor fixes

Fixes a potential error when including this library in Arduino IDE