The beginnings of semantic analysis... also fixed a preexisting build directory error