xpdf: add link flags and fix include flag

Closes #21572.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Vim 7.4b.4 Beta

Closes #21633.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>