curl isn't available on default ubuntu 14.04 install; use wget.