54312158 improperly handled mac os exceptions

This cleans up some super build issues for passing MacOS target version and SDK to the dependencies, as well as adds a set of tests to prove that exceptions are properly handled.