Adapt cbindgen project for ESR 78

We need to adapt the cbindgen project for ESR 78.