Add support for building .frameworks