Fixed some build errors, updated README