Fixed 3rd-party package installation for namespace packages and overriding built-in libraries

Replacing sys.path.insert() with site.addsitedir() makes it possible to import namespace package dependencies.
Done.