Greece must do 'everything to avoid default'