generate: adding back const since cython 0.18 supports it.