[Core] Fix compile error