dirent is a posix header :P If you use the windows-wrapper there should be no need to change the code. we discussed this on skype, at least @xchrdw and I did. 
There is no stdlib functionality yet to crawl directories, sadly...