Fixing some issues in C++ port regarding 1D barcode readers