Use environment variable $TOP to determine full path to hardware/interfaces.
diff --git a/AST.cpp b/AST.cpp
index b0819e2..7c02f1d 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -67,7 +67,7 @@
     // LOG(INFO) << "importing " << fqName.string();
 
     if (fqName.name().empty()) {
-        const std::string packagePath = Coordinator::GetPackagePath(fqName);
+        const std::string packagePath = mCoordinator->getPackagePath(fqName);
         DIR *dir = opendir(packagePath.c_str());
 
         if (dir == NULL) {