Update composer to type metapackage and prefer-dist