More Boost.Filesystem v2/v3 compatibility.