[Core] Fix compile