support to link bench exe with extern fftw lib

* also renamed lib_dir to more appropriately named cfg_dir