Update src/serialport_unix.cpp to build on OpenBSD

Fixes #103