Fix compatibility issue with Arduino DUE