Add libs and *~ to .gitignore

Add libs and *~ to .gitignore