Win32 fixes to pvr