Fix Thread for Win32

Signed-off-by: Rick Taylor <rick@tropicalstormsoftware.com>