Add build folder to .gitignore & fix "No newline at end of file" warnings.