Arduino Due fixes for shield use