Use statvfs on NetBSD.

One field name in struct statvfs is different than one Solaris; adapt.
Fixes build on NetBSD, since statfs support was removed.
in light of your findings, I think the simplest solution is to change this line to:

```
#elif HAVE_SYS_STATVFS_H && !defined(__APPLE__)
```