Fix S3 dependency.