better handling of different libftdi directories