configure.ac: Use AC_CANONICAL_HOST and $host_os

We shouldn't have been using $host without AC_CANONICAL_HOST.
Support testing Windows builds from Cygwin

The user must have SeCreateSymbolicLinkPrivilege.  valgrind and
coverage are not supported.
test: Fix cases that assume "/" is the path separator