Fix typos and update configure