[Win] Fix compilation in Release