fix sanity check for fftw2 wrapper libs with double/single suffixes