Update .gitignores for shared libraries built on Ubuntu.