A lot of distros include both single precision and double precision fftw. In those cases, there will be srfftw.h and sfftw.h instead of rfftw.h and fftw.h to indicate single (hence the s) or double precision. It should be a very simple fix that helps out with fftw support.