Fix cython warnings