Tmp helper function to encapsulate ExpandConstant({tmp})
Replace calls with Tmp()
Fix Erlang installer downloading to incorrect location