Fix C++ demo bindings build due to function signature mismatch