Fix compilation in windows 8.1