Fix conditional cython compilation