add _DIRENT_HAVE_D_* macros to dirent.h