Fix Cython build

Signed-off-by: Michael Buesch <m@bues.ch>
Add Cython support for Python 2

Signed-off-by: Michael Buesch <m@bues.ch>