Build support for freebsd 10 (adding libexecinfo)

Building on FreeBSD 10 failed because of a missing linker dependency to libexecinfo.
Note that this fix explicitly targets FreeBSD 10 as future version might have different dependencies.
FreeBSD 9 does not require this fix.