Fix NameError in configure script
Merge pull request #2452 from cypher/fix-name-error-in-configure-script

Fix NameError in configure script