Fixed cython binding for support of version 2.6