fix directive parsing in cythonize script