Add libxpm and libgif; add output to verify emacs binary version