fix cmake build to find fftw_threads