Remove libc++ dependency

* Build without C++ or Objective-C exception support.

* Use scope guards to cleanup resources instead of @try/@finally blocks.