--- a/makeflow/src/starch
+++ b/makeflow/src/starch
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python
 
 # Copyright (c) 2010- The University of Notre Dame.
 # This software is distributed under the GNU General Public License.
--- a/configure
+++ b/configure
@@ -760,7 +760,7 @@
 
 	if [ $python != 0 ]
 	then
-		python_version=`${python} -V 2>&1 | cut -d " " -f 2`
+		python_version=`${python} -V 2>&1 | cut -d " " -f 2 | cut -d . -f 1,2`
 		echo "python version is ${python_version}"
 		python_major_version=`echo ${python_version} | cut -d . -f 1`
 		python_minor_version=`echo ${python_version} | cut -d . -f 2`
