Fix dirent.h for MSVC.
First attempt to create an asset pipeline.