fftw plan creation is not thread safe