use build script to add framework directory to build.