Fix compilation on Windows. #1433