Fix performance regression due to NaN checking for dmrealsq (not really needed), and passing non -O3 CFLAGS to configure for
FFTW.