Avoid use of BinaryHeap!Array on DMD < 2.065 trying to work around compile/link errors.

Instead, a slower RedBlackTree is used on older compiler versions now.