Make the Sensorino code compile.

Fix compilation errors so that the whole stuff (excluding Base) compiles
from under the Arduino IDE.