ext: don't repeat code
lib: require fftw