Update README, fix compile with c++ compiler.