fix readme, make example code compilable again
Merge pull request #39 from rhusar/readme

fix readme, make example code compilable again