Fixed ifdefs in rtree.h.