download appdist if needed in build process