Add a target to build as framework.

Hey, hope it's useful