Mostly Cygwin again. Add more conditional wrappers.