Earlier I wrote about how to install LAMMPS and AtomEye on a Desktop without FFTW.
The following document now shows how to download, compile and build the freely available fftw library with LAMMPS to consider electrostatic effects.
Building LAMMPS with FFTW