Keep X11 includes out of core builds
Only use "backtrace" when available

backtrace is a GNU (glibc) extension which is not generally available in
other C libraries.
Merge pull request #11 from earl/minor-build-improvements

Minor build improvements