Strengthen check comparing output to input directories.

Previously, a simple string compare was performed.  However, if the
user enters a relative string to LATEX_OUTPUT_PATH ("." would be
expected), then the string compare to the absolute path in
CMAKE_CURRENT_SOURCE_DIR would fail even though the two paths point
to the same place.

Fix the problem by first converting LATEX_OUTPUT_PATH to an absolute
path.