Added -DSERIAL_TRACK option