Add support for wget if curl is not present

Fix Travis CI issues:
 - SC2086: Double quote to prevent globbing and word splitting.