DiffPDF: link against libc++ for >= Mavericks

Fixes #24854

Closes #24855.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>