make example compile
Merge pull request #1 from beyang/master

Make example compile