To ensure we don't hit github api limits when downloading dependencies. Using --prefer-dist, which is the composer default means we are hitting the github api on each download. Using --prefer-source doesn't hit the api, it clones the repos we need.