Fixed downloading with curl on Debian

see http://is.gd/wN6sIz