[Core] Fixed build error