Make the Xcode framework be Garbage-collected-capable.
Add some missing finalize methods.
Make CALayerExporter build on OS X.