DF-2765 fixed macos/ios build