fix support for building FFTW wrappers for recent imkl versions