Fixed issues that are warnings on Linux, but errors on Arduino.