Fix C++ boolean issue
https://github.com/arduino/Arduino/pull/2151