update README and fix a two build warnings