modified configure.sh

Moved assignement from the conditional check to a separate line.