Merge "include direct.h for _mkdir" into lmp-dev