Made the lookup of libfmt's location more robust. This is necessary to be able to (for instance) perform a "Debug" build of Gaudi against a "Release" build of LCG.
Pinging @clemenci, @leggett.