fix bug which would cause curl to be incorrectly used
Merge pull request #9 from lukejahnke/master

Bug causing curl to always be used