Continuing to fix threading on Cygwin