Fixed some typos, seperated build and debug