Add .gitignore to ignore build files/dirs.