Fix Win32 build for downstream projects