fix build issue with heap flags in Editor