fixed compile errors in obd2 plugin