backtrace: Speculative fix for FreeBSD10.0 and execinfo.h

FreeBSD 10.0 ships an execinfo.h but one needs to link to an
additional library for the backtrace functions. Check if there
is a backtrace symbol in libexecinfo and if so link to that
library.
2 files changed