( resolve #11 ) Add a header to support dirent.h on windows.
Missing import of <algorithm> for std sort and binary_search.
Unix wasn't complaining before, windows did.
Cast size_t to int.
Clang did not complain, others did.