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

It seems iOS devices suffer almost all the same problems with Android devices when compiling via openFL.