Minor mods required to support Due (ARM-based Arduino).