Added optional compilation flag for dmtx_barcode_scan