Added the appropriate ifdefs for FFTW