dirent and sqlite for Windows port