Much better. I agree completely about using alternative mechanisms when autoconf is a bad fit. It's icky to redefine strerror, but given that Windows is returning errno codes that are above sys_nerr, one good ick deserves another.