Error building DirectoryUtils on RPi

I am picking a project up after months, and not sure what may have changed. I am building on the Pi and this succeeded in the past for sure… now when i build, I get this… any suggestions?

/home/pi/openFrameworks/addons/ofxIO/libs/ofxIO/src/DirectoryUtils.cpp: In static member function ‘static void ofx::IO::DirectoryUtils::list(const boost::filesystem::path&, std::vector<boost::filesystem::path>&, bool, ofx::IO::AbstractPathFilter*, bool)’:

/home/pi/openFrameworks/addons/ofxIO/libs/ofxIO/src/DirectoryUtils.cpp:123:72: error: invalid initialization of reference of type ‘const string& {aka const std::basic_string<char>&}’ from expression of type ‘const boost::filesystem::path’

std::filesystem::path _directory = ofToDataPath(directory, true);