fixed configure.sh