Using a SoftwareSerial port within a library

Any idea how I can make the library use the defined serial port from the sketch?

The short answer is that you can't. The sketch and the library are in different compilation units, compiled at different times. A pre-processor directive from one file can not be used in another.