I have no experience whatsoever with UCSO, but that sounds like you need to include <filesystem> when using the library...