add fftw3 (patch from #3987)