Fixing build problem of Arduino code