fix compile issue for arduino-ide