Enable building of Carbon toolbox modules with unix-Python.
diff --git a/Mac/Modules/te/tescan.py b/Mac/Modules/te/tescan.py
index c9cff60..5ad1f18 100644
--- a/Mac/Modules/te/tescan.py
+++ b/Mac/Modules/te/tescan.py
@@ -2,10 +2,9 @@
 
 import sys
 import os
-BGENDIR=os.path.join(sys.prefix, ':Tools:bgen:bgen')
+from bgenlocations import TOOLBOXDIR, BGENDIR
 sys.path.append(BGENDIR)
 from scantools import Scanner
-from bgenlocations import TOOLBOXDIR
 
 LONG = "TextEdit"
 SHORT = "te"