Remove s3_endpoint code from configure