enhance sanity check to check for FFTW wrapper libs, get rid of duplicate code in post_install_step