fix problems with grunt S3 configuration