fixing unix support. Initial wget clone