Replaced addpack by handcrafted code to find the bgen stuff.
diff --git a/Mac/Modules/te/TEmodule.c b/Mac/Modules/te/TEmodule.c
index 70891ff..1c7e4f4 100644
--- a/Mac/Modules/te/TEmodule.c
+++ b/Mac/Modules/te/TEmodule.c
@@ -217,7 +217,7 @@
 {
 	PyObject *_res = NULL;
 	CharParameter key;
-	if (!PyArg_ParseTuple(_args, "c",
+	if (!PyArg_ParseTuple(_args, "h",
 	                      &key))
 		return NULL;
 	TEKey(key,