added proper macosx and iOS targets