Simple windows+posix compatible serial library in C++