Fix compile errors
Fixes to allow for compiling with CLI arduino makefile