Fix a compilation bug when disabling serial support.
2 files changed