switch to curl based installation. fix #2
Merge branch 'refactor/curl'