Fix PyCapsule importing
Use technique for PyCapsule import that allows for namespaced packages