Builds on MSVC 11, doesn't run because of dirent