fix issues with cython in stable branch