frameworks: fix the build error