[Core] Fix up compile error