Update buildupdate scripts to handle curl vs. wget

Change-Id: I2e3ea5fd7d0f74b564ccebb2daffae544bd96ddb