fix build dependency issues and update README