adding targets for iOS and OSX