Cross platform uart/serial library