Updates gitignore. Removes build dirs.