ArduinoModbus Library on Due - Compile Failure

Do I need to do anything special to get the Arduino Modbus library to work on the Due? (My first time working with a Due)

I get the following errors when compiling a sketch using the Library:

error: 'class Stream' has no member named 'availableForWrite'; did you mean 'available'?
     _serialTransmissionBufferLength = _serialStream.availableForWrite();

EDIT: I think you can ignore my question. I believe I have somehow been using a non-official Modbus library and the fault is in there.. So.. I'm not sure this is the right place to ask. Apologies.