later versions need COMPOSER_HOME or HOME environment variable
dry up the composer binary download code