Replace Mac static library with a framework

It's more conventional, and dynamic linking can offer some nice benefits.