take into account that FFT_LIB_DIR is a list of dirs