adding OSX and iOS targets