Fix compilation in Windows