Fix a condition error in configure.