Windows doesn't have lstat, so use stat. It also doesn't define S_ISREG, so do that here.
Windows doesn't have lstat, so use stat.
It also doesn't define S_ISREG, so do that here.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb