Fix compilation for Windows 32-bit and 64-bit