Fix windows builds broken by nuking of DWORD hell.