diff --git a/tools/zax/SConscript b/tools/zax/SConscript
index 7013ea4d3e9dce1dcdcac7c2b5c7e09d6672a311..7cd3dd04dd941b81e7e9f154ed0f953591a249ba 100644
--- a/tools/zax/SConscript
+++ b/tools/zax/SConscript
@@ -9,7 +9,6 @@ myenv=env.Clone()
 
 cpppath=''' 
 	 $IRDB_SDK/include 
-	 $SECURITY_TRANSFORMS_HOME/include
 	 $SMPSA_HOME/include
 	'''
 
diff --git a/tools/zax/zax_base.cpp b/tools/zax/zax_base.cpp
index 7ba1e76b5c0659980e4236e95c3442a0902d6de3..6c84e547c075316fb335f6c3fb0a86a7ae22c3aa 100644
--- a/tools/zax/zax_base.cpp
+++ b/tools/zax/zax_base.cpp
@@ -108,12 +108,12 @@ ZaxBase_t::ZaxBase_t(IRDB_SDK::pqxxDB_t &p_dbinterface, IRDB_SDK::FileIR_t *p_va
 	if (p_autozafl)
 	{
 		cout << "autozafl library is on" << endl;
-		(void)ed->prependLibraryDepedencies("libautozafl.so");
+		(void)ed->appendLibraryDepedencies("libautozafl.so");
 	}
 	else
 	{
 		cout << "autozafl library is off" << endl;
-		(void)ed->prependLibraryDepedencies("libzafl.so");
+		(void)ed->appendLibraryDepedencies("libzafl.so");
 	}
 
 	// bind to external symbols declared in libzafl.so
@@ -1171,7 +1171,7 @@ int ZaxBase_t::execute()
 			return lhs->getBaseID() < rhs->getBaseID();
 		}
 	};
-	auto sortedFuncs=set<Function_t*, BaseIDSorter>( ALLOF(getFileIR()->getFunctions()));
+	const auto sortedFuncs=set<Function_t*, BaseIDSorter>( ALLOF(getFileIR()->getFunctions()));
 	for(auto f :  sortedFuncs)
 	{
 		if (f == nullptr )       continue;