Fix Cython compilation

Fixes a Obtaining 'char const *' from temporary Python value error.