Fix unit tests on Windows

ENOENT errors are reported differently on Windows; see comment.

This assumes the presence of `make` to run the tests in the first place.