Adds .gitignore for files generated when building.