[Core] Fix build error