small changes to installing wget and patch, only if it is not installed yet.
use tar.gz archives from github, remove dependancy for unzip