improve SMF installation, fix #1757
Merge branch 'master' of github.com:wayneeseguin/rvm