Fix warnings on Windows 64-bit build