fixing framework build script