backwards compat for boost::filesystem v2