Delete dist before trying to create it again.