Fixes Cython compilation with some versions of Cython.