Made fixes to work on pcDuino