compile the trees_cython conditionally on cython