Couple more hack edits to get things past the MSVC compiler
Implementation of Thread and Mutex for Win32