Switched from dirent to boost_filesystem