Fix pyx generation.