Update README, fix compile with c++ compiler.
Merge pull request #12 from sunyc/master

Update README, fix compile with c++ compiler.