Platform detection fixed (windows -> win32)