Configured VALID_ARCHS to all the currently valid iOS architectures. This change is required t successfully build with xcodebuild.
Fixed compatibility with the Objective-C++ by wrapping all the umbrella header includes with the extern "C"