workaround for compiler crash on cython 0.20