Fixing compilation error in the examples
(cherry picked from commit 84bf9d6d81ae5bafda64c3d1aad53fe6d83508dd)
Updating Fibonacci to v6 API