Use a temporary directory for building packages.
Use ampltabl from http://www.ampl.com/NEW/TABLEPROXY/ as Google Code downloads are discontinued. Add a --cache option.