fixed setting fftw_flags to FFTW_MEASURE