lsrdev: tweak platform files so we can compile TestSerial