Add support for sse4/mmx back in, and detect fftw3.

small optimization in the sse4 code.