Added upgrade to distribute before building matplotlib