Disable readdir on Win32

Fixes gh-17