Remove .so and lib/ from .gitignore

Not sure whether lib/python3.8/lib-dynload is needed but at least we
want lib/libpython3.8.so.

Test: git ls-files -i --exclude-from=.gitignore
Change-Id: Id521a8fd28895e7140cb4c2143b26b08b85fa57a
diff --git a/.gitignore b/.gitignore
index a81c8ee..1869683 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,11 +1,8 @@
 # Byte-compiled / optimized / DLL files
 __pycache__/
-*.py[cod]
+*.py[co]
 *$py.class
 
-# C extensions
-*.so
-
 # Distribution / packaging
 .Python
 build/
@@ -14,7 +11,6 @@
 downloads/
 eggs/
 .eggs/
-lib/
 lib64/
 parts/
 sdist/