It is time to switch to C++17 and drop dirent.h. As a result `src/sc2api/sc2_coordinator.cc` needs reimplementation using new features of C++17.