Add support for building .framework via buildsys