Enable the .hi file sanity check when not on Windows

We don't want the overhead of spawning a shell on Windows, but on other
platforms it's a useful sanity check.