Fix to get wget working across Windows and Mac OS X