Added target for S3. Wrongly set the framework with appending 'OSX'. Removed that.