ESP32C3 does not compile with LORAE5 library

Ok so I don’t have to touch lorae5.cpp and .h and just put #undef SerialLoRa
#define SerialLoRa Serial1

in the sketch?

And instead of serial I use serial1 in the sketch?