also build fftw3_threads libraries, and enhance sanity checks

(syncs up with the FFTW easyconfig included in #988)
done