Add support for iOS and non-iOS C++ targets