update README.md and fix build