Fix ping for windows.