fix modbus_ascii_serial_mode warning and add install headers