Defines l3_tear_down for release builds.
Changes the static framework target to be a static library.

It also copies its headers and library into a framework structure.