Little code and dependencies improvement in configure.sh

 The package 'build-essential' depends on the package 'gcc' and 'g++'.