DiffPDF: link against libc++ for >= Mavericks

Fixes #24854

Closes #24855.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
cgdb: use readline opt_prefix, not prefix

Fixes #24858.