Fix issue with largeHeap being used with unsupported SDK versions (prior to 11).