Add gitignore to library.