[Core] fix compile