sh: support for platforms without PIO.