Fix Protobuf include and add Bessel jn definition