update library file to match ruby serial port gem
update library file to match ruby serial port gem