Fixed some typos and arch build problems