PORTX_PORT_vect compilation errors

Do you really need SoftwareSerial? Pins 0 and 1 are Serial1 and independent of the USB communucation. And there are more UARTs on the 4809, just do a search how to access them.