WIP: fix .pyx compilation issues (full compilation still broken)