Better support for virtual environment path detection
Check for None in ctypes detection
Run time hook for AppKit and Foundation
Removed un-needed hooks
Extend paths with pkgutil