Small changes to example app to fix compile problems.

Signed-off-by: Christopher Morse <dignanmorse@gmail.com>