Add the --no-check-certificate flag to wget

There were issues with pypi's cert so this flag was added to ignore the error.
Fix redirect issue when fetching distribute