Fixed RB tree compilation errors