Improve configure.sh and some minor changes.
Merge branch 'fftc_optimization' of github.com:falkob/fftc into fftc_optimization