cythonpp.py: fix breakage on newer cython versions

Thanks to @zhangchunlin and @mvalkon.

Fix #483.
Close #489.