Fix Visual not exporting methods of dirent.cpp