Update README.md

Fix compile error in sample code.