Win32 compatibility

Fixed typedef collision on Win32 platforms