There are a few more issues that need to be addressed in order to
run this test on Windows:
* aligned_free (compat.h wrapper) needs to be used after allocating
memory using posix_memalign, "free" causes a crash on Windows
* long (4B) can't store x64 pointers on Windows, we'll use
uintptr_t instead.
* use O_BINARY when opening files, otherwise certain characters
get translated (e.g. LF to CRLF).