diff --git a/PNTransformDriver.cpp b/PNTransformDriver.cpp
index 11783621d0dca72e1bd0567a0802e1ab8bb77e51..cb3201329a1433fbae890347ab82143b0784622b 100644
--- a/PNTransformDriver.cpp
+++ b/PNTransformDriver.cpp
@@ -410,7 +410,7 @@ void PNTransformDriver::GenerateTransforms(IRDBObjects_t *const irdb_objects)
 
 
 	// now that we've loaded the FileIR, we can init the reg expressions needed for this object.
-	pn_regex=make_unique<PNRegularExpressions>();
+	pn_regex=unique_ptr<PNRegularExpressions>(new PNRegularExpressions);
 
 
 	//Sanity check: make sure that this file is actually a.ncexe, if not assert false for now
@@ -2375,7 +2375,7 @@ int PNTransformDriver::prologue_offset_to_actual_offset(ControlFlowGraph_t* cfg,
 			return offset;
 
 		int max = PNRegularExpressions::MAX_MATCHES;
-		auto pmatch=make_unique<regmatch_t[]>(max); 
+		auto pmatch=unique_ptr<regmatch_t[]>(new regmatch_t[max]); 
 
 
 		/* check for a stack alloc */
diff --git a/SConstruct b/SConstruct
index 85c094313adf5a9ae19c3de4e681105286f8a6f3..3ebff68b7e33a85dd3bcf486c827d710959a5558 100644
--- a/SConstruct
+++ b/SConstruct
@@ -43,7 +43,7 @@ env.Replace(debug=ARGUMENTS.get("debug",0))   # build in debug mode?
 #
 # Required:  need these flag to appropriately include/link IRDB files.
 #
-env.Append(CXXFLAGS=" -std=c++14 ")	# enable c++17
+env.Append(CXXFLAGS=" -std=c++11 ")	# enable c++17
 env.Append(LINKFLAGS=" -Wl,-unresolved-symbols=ignore-in-shared-libs ") # irdb libs may have symbols that resolve OK at runtime, but not linktime.