moved the ac_header check for fftw into the with-fftw section