more cython 0.18 cleanup