Linux und Macintosh serial ports are now checked by using boost::filesystem, rather than unix dependent implementation (dirent.h)