Update octree.pyx for Linux compatibility