Added windows threads.