update installer script to use curl instead of wget and download the patch from github