Simplified win32 implementation + temporarily removed cond vars on win32 due to compiler issues